<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BFile</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BFile">
			<h1>BFile</h1>
			<p>继承自<a href="BStream.html">BStream</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right">static bool </td><td><a href="#Exist(const BString&)">Exist</a>(const BString& fileName);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Create(const BString&)">Create</a>(const BString& fileName);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Remove(const BString&)">Remove</a>(const BString& fileName);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Rename(const BString&, const BString&)">Rename</a>(const BString& fileName, const BString& newName);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Load(const BString&, BByteArray&)">Load</a>(const BString& fileName, BByteArray& bytes);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Load(const BString&, BBuffer&)">Load</a>(const BString& fileName, BBuffer& buffer);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Load(const BString&, BString&)">Load</a>(const BString& fileName, BString& text);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Save(const BString&, const BByteArray&)">Save</a>(const BString& fileName, const BByteArray& bytes);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Save(const BString&, const BBuffer&)">Save</a>(const BString& fileName, const BBuffer& buffer);</td></tr>
				<tr><td align="right">static bool </td><td><a href="#Save(const BString&, const BString&)">Save</a>(const BString& fileName, const BString& text);</td></tr>
				<tr><td align="right">static FILE* </td><td><a href="#FOpen(const BString&, IOMode)">FOpen</a>(const BString& fileName, IOMode mode);</td></tr>
			</table>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BFile()">BFile</a>();</td></tr>
				<tr><td align="right"></td><td><a href="#BFile(const BString&)">BFile</a>(const BString& fileName);</td></tr>
				<tr><td align="right"></td><td><a href="#~BFile()">~BFile</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#setFileName(const BString&)">setFileName</a>(const BString& fileName);</td></tr>
				<tr><td align="right">const BString& </td><td><a href="#fileName()">fileName</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#open(IOMode)">open</a>(IOMode mode);</td></tr>
				<tr><td align="right">bool </td><td><a href="#open(const BString&, IOMode)">open</a>(const BString& fileName, IOMode mode);</td></tr>
				<tr><td align="right">bool </td><td><a href="#close()">close</a>();</td></tr>
				<tr><td align="right">bool </td><td><a href="#isOpened()">isOpened</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#flush()">flush</a>();</td></tr>
				<tr><td align="right">virtual IOMode </td><td><a href="#mode()">mode</a>() const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#seek(int)">seek</a>(int offset) const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#wseek(int)">wseek</a>(int offset) override;</td></tr>
				<tr><td align="right">virtual int </td><td><a href="#offset()">offset</a>() const override;</td></tr>
				<tr><td align="right">virtual int </td><td><a href="#size()">size</a>() const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#read(void*, int)">read</a>(void* data, int size) const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#write(const void*, int)">write</a>(const void* data, int size) override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#read(BString&)">read</a>(BString& text) const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#write(const BString&)">write</a>(const BString& text) override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#readCStr(char*, int)">readCStr</a>(char* cstr, int size) const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#writeCStr(const char*,int)">writeCStr</a>(const char* cstr, int size = -1) override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#readLine(char*, int)">readLine</a>(char* cstr, int size) const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#writeLine(const char*,int)">writeLine</a>(const char* cstr, int size = -1) override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#readText(BString&, int)">readText</a>(BString& text, int size) const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#writeText(const BString&,int)">writeText</a>(const BString& text, int size = -1) override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#readLine(BString&)">readLine</a>(BString& line) const override;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#writeLine(const BString&)">writeLine</a>(const BString& line) override;</td></tr>
				<tr><td align="right">using </td><td><a href="#BStream::read;()">BStream::read;</a></td></tr>
				<tr><td align="right">using </td><td><a href="#BStream::write;()">BStream::write;</a></td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="Exist(const BString&)">
				<h3>static bool Exist(const BString&amp; fileName);</h3>
			</div>
			<div id="Create(const BString&)">
				<h3>static bool Create(const BString&amp; fileName);</h3>
			</div>
			<div id="Remove(const BString&)">
				<h3>static bool Remove(const BString&amp; fileName);</h3>
			</div>
			<div id="Rename(const BString&, const BString&)">
				<h3>static bool Rename(const BString&amp; fileName, const BString&amp; newName);</h3>
			</div>
			<div id="Load(const BString&, BByteArray&)">
				<h3>static bool Load(const BString&amp; fileName, BByteArray&amp; bytes);</h3>
			</div>
			<div id="Load(const BString&, BBuffer&)">
				<h3>static bool Load(const BString&amp; fileName, BBuffer&amp; buffer);</h3>
			</div>
			<div id="Load(const BString&, BString&)">
				<h3>static bool Load(const BString&amp; fileName, BString&amp; text);</h3>
			</div>
			<div id="Save(const BString&, const BByteArray&)">
				<h3>static bool Save(const BString&amp; fileName, const BByteArray&amp; bytes);</h3>
			</div>
			<div id="Save(const BString&, const BBuffer&)">
				<h3>static bool Save(const BString&amp; fileName, const BBuffer&amp; buffer);</h3>
			</div>
			<div id="Save(const BString&, const BString&)">
				<h3>static bool Save(const BString&amp; fileName, const BString&amp; text);</h3>
			</div>
			<div id="FOpen(const BString&, IOMode)">
				<h3>static FILE* FOpen(const BString&amp; fileName, IOMode mode);</h3>
			</div>
			<div id="BFile()">
				<h3>BFile();</h3>
			</div>
			<div id="BFile(const BString&)">
				<h3>BFile(const BString&amp; fileName);</h3>
			</div>
			<div id="~BFile()">
				<h3>~BFile();</h3>
			</div>
			<div id="setFileName(const BString&)">
				<h3>void setFileName(const BString&amp; fileName);</h3>
			</div>
			<div id="fileName()">
				<h3>const BString&amp; fileName() const;</h3>
			</div>
			<div id="open(IOMode)">
				<h3>bool open(IOMode mode);</h3>
			</div>
			<div id="open(const BString&, IOMode)">
				<h3>bool open(const BString&amp; fileName, IOMode mode);</h3>
			</div>
			<div id="close()">
				<h3>bool close();</h3>
			</div>
			<div id="isOpened()">
				<h3>bool isOpened() const;</h3>
			</div>
			<div id="flush()">
				<h3>bool flush();</h3>
			</div>
			<div id="mode()">
				<h3>virtual IOMode mode() const override;</h3>
			</div>
			<div id="seek(int)">
				<h3>virtual bool seek(int offset) const override;</h3>
			</div>
			<div id="wseek(int)">
				<h3>virtual bool wseek(int offset) override;</h3>
			</div>
			<div id="offset()">
				<h3>virtual int offset() const override;</h3>
			</div>
			<div id="size()">
				<h3>virtual int size() const override;</h3>
			</div>
			<div id="read(void*, int)">
				<h3>virtual bool read(void* data, int size) const override;</h3>
			</div>
			<div id="write(const void*, int)">
				<h3>virtual bool write(const void* data, int size) override;</h3>
			</div>
			<div id="read(BString&)">
				<h3>virtual bool read(BString&amp; text) const override;</h3>
			</div>
			<div id="write(const BString&)">
				<h3>virtual bool write(const BString&amp; text) override;</h3>
			</div>
			<div id="readCStr(char*, int)">
				<h3>virtual bool readCStr(char* cstr, int size) const override;</h3>
			</div>
			<div id="writeCStr(const char*,int)">
				<h3>virtual bool writeCStr(const char* cstr, int size = -1) override;</h3>
			</div>
			<div id="readLine(char*, int)">
				<h3>virtual bool readLine(char* cstr, int size) const override;</h3>
			</div>
			<div id="writeLine(const char*,int)">
				<h3>virtual bool writeLine(const char* cstr, int size = -1) override;</h3>
			</div>
			<div id="readText(BString&, int)">
				<h3>virtual bool readText(BString&amp; text, int size) const override;</h3>
			</div>
			<div id="writeText(const BString&,int)">
				<h3>virtual bool writeText(const BString&amp; text, int size = -1) override;</h3>
			</div>
			<div id="readLine(BString&)">
				<h3>virtual bool readLine(BString&amp; line) const override;</h3>
			</div>
			<div id="writeLine(const BString&)">
				<h3>virtual bool writeLine(const BString&amp; line) override;</h3>
			</div>
			<div id="BStream::read;()">
				<h3>using BStream::read;</h3>
			</div>
			<div id="BStream::write;()">
				<h3>using BStream::write;</h3>
			</div>
		</div>
	</body>
</html>